<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>图片查看器</title>
	<link rel="stylesheet" href="photoGallery.css"/>
	<script src="jquery.js"></script>
	<script src="jquery-ui.js"></script>
	<script src="jquery.photo.gallery.js"></script>
</head>
<body>
<div class="box father-class ui-draggable ui-draggable-handle" id="galleryBox" >
	<header drag>
		<div class="winControl" noDrag>
			<!-- <span class="closeWin" title="关闭"><i class="icon_close-big"></i></span>-->
		</div>
	</header>
	<div class="gallery"></div>
</div>
<script>
	$.initGallery();
	$(document).keyup(function(e){
		var key =  e.which;
		if(key == 27){
			$("body",parent.document).find('#window').hide();
			$("body",parent.document).find('#J_pg').hide();
			$("body",parent.document).find('#main').hide();
		}
	});
</script>
</body>
</html>